#include "stdafx.h"
#include "GameActor.h"

CGameActor::CGameActor()
{

}

CGameActor::~CGameActor()
{

}

void CGameActor::setGameRule(CGameRule* pGameRule)
{
	mpGameRule = pGameRule;
}

void CGameActor::setEquipPart(int id, const char* szPartName)
{
	mini::CEntity* pEntity = nullptr;
	if (nullptr != pEntity)
	{
		setEquipPart(id, pEntity);
	}
}

void CGameActor::setEquipPart(int id, mini::CEntity* pEntity)
{
	//auto item = mAllParts.find(id);
	//if (item != mAllParts.end())
	//{
	//	SafeRelease(item->second);
	//}
	//mAllParts[id] = nullptr;
}

void CGameActor::setStatus(Status status)
{
	mStatus.setStatus(status);
}

